﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonDto
{
    public abstract class BaseResponseDto
    {
        public string Code { get; set; } = null!;
        public string Message { get; set; } = null!;

        public string SubCode { get; set; } = null!;
        public string SubMessage { get; set; } = null!;
    }

    public abstract class BaseResponseDto<TData> : BaseResponseDto
    {
        public TData? Data { get; set; }
    }
}
